package com.phz.springcloud.study.dao;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.phz.springcloud.study.entity.User;

/**
 * userdao
 * @author penghaozhong
 *
 */
public interface UserDao  extends PagingAndSortingRepository<User, String>{
	
	public User findByUsername(String userName);
	
	public User findByPhone(String phone);

}
